<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>单点登录认证中心</title>
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="/webjars/jquery/3.6.0/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style>
        .container{
            width: 500px;
            margin-top: 20px;
        }
        .form-control{
            margin-bottom: 10px;
        }
        .panel-title{
            text-align: center;
        }
    </style>
</head>
<body >

<div class="container">

    <div class="panel panel-primary">
        <div class="panel-heading">
                <h2 class="panel-title">SSO单点登录认证中心</h2>
        </div>
        <div class="panel-body">
            <form class="form-signin" method="post" action="/sso/doLogin">
                <input type="text"  class="form-control" name="username" placeholder="输入用户名" required autofocus>
                <input type="hidden"  class="form-control" name="url" th:value="${url}">
                <input type="password" id="inputPassword" class="form-control" name="password" placeholder="请输入密码" required>
                <button class="btn  btn-primary btn-block " type="submit">用户登录</button>
            </form>
        </div>
    </div>

</div> <!-- /container -->
</body>
</html>